package main;

import second.MyClass;


public class Main {
	public static void main(String[] args) {
		byte a=126;
		
		System.out.println(a);
		a+=2;
		System.out.println(a);
		
		char s='#';
		System.out.println((short)s);
		
		String str="Java";
		System.out.println(str);
		String str2="Privet";
		str2=str2+" "+str;
		System.out.println(str2);
		
		Integer int1=10;
		Integer int2=new Integer(20);
		System.out.println(int1+int2);
		
		Integer aa=new Integer(120);
		Integer b=new Integer(120);
		
		System.out.println(b.equals(aa));
		
		MyClass cl=new MyClass(2,"asd",'$');
		MyClass cl2=new MyClass(1,"asd",'$');
		
		if(cl.equals(cl2))
		{
			
			System.out.println("Ravno");
		}
		else
		{
			
			System.out.println("NE Ravno");
		}
	}

}
